{include file="public/header"  title="添加会员"}
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>增加内容</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="" enctype="multipart/form-data">
            <div class="form-group">
                <div class="label">
                    <label>邮箱：</label>
                </div>
                <div class="field">
                    <input type="email" class="input w50" name="email" id="email"  value=""/>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" id="tj" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body></html>
<script>
    // $('#tj').click(function () {
    //     var email=$('#email').val();
    //     $.ajax({
    //         async:true,
    //         url:"{:url('sendEmail')}",
    //         data:{email:email},
    //         dataType:'json',
    //         type:'post',
    //         success:function (data) {
    //
    //         }
    //     })
    // })
</script>